export const columns = [
  { label: '', prop: 'index', width: '80px', type: 'index' },
  { label: '业主姓名', prop: 'ownerName', width: '120px', search: true },
  { label: '联系电话', prop: 'contactPhone', width: '150px', search: true },
  { label: '楼栋', prop: 'building', width: '150px' },
  { label: '房号', prop: 'roomNumber', width: '150px' },
  { label: '车位号', prop: 'spaceNumber', width: '150px', search: true, queryProp: 'unitNumber' },
  { label: '销售顾问', prop: 'salesConsultant', width: '150px', search: true },
  { label: '询价时间', prop: 'inquiryTime', width: '120px' },
  {
    label: '跟进状态',
    prop: 'followStatus',
    type: 'select',
    options: [
      { label: '跟进中', value: 1 },
      { label: '完成', value: 2 },
      { label: '已放弃', value: 3 },
    ],
    width: '120px',
  },
  { label: '操作', prop: 'action', slotName: 'action', width: '130px', fixed: 'right' },
]

export const formOptions = [
  // 1-跟进中 2-完成 3-已放弃
  {
    label: '跟进状态',
    prop: 'followStatus',
    type: 'select',
    options: [
      { label: '跟进中', value: 1 },
      { label: '完成', value: 2 },
      { label: '已放弃', value: 3 },
    ],
    rules: [{ required: true, message: '跟进状态不能为空' }],
  },
  { label: '跟进内容', type: 'textarea', prop: 'followContent', span: 3 },
]
